package com.muyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.muyu.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 预警规则对象 warn_rule
 *
 * @author muyu
 * @date 2024-09-20
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("warn_rule")
public class WarnRule {
    private static final long serialVersionUID = 1L;

    /** 规则id */
    @TableId( type = IdType.AUTO)
    private Long id;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;

    /** 策略id */
    @Excel(name = "策略id")
    private Long strategyId;

    /** 报文数据类型id */
    @Excel(name = "报文数据类型id")
    private Long msgTypeId;

    /** 滑窗时间 */
    @Excel(name = "滑窗时间")
    private Long slideTime;

    /** 滑窗频率 */
    @Excel(name = "滑窗频率")
    private Long slideFrequency;

    /** 上升率 */
    @Excel(name = "上升率")
    private Long growthRate;

    /** 波动率 */
    @Excel(name = "波动率")
    private Long volatilityRate;

    /** 下降率 */
    @Excel(name = "下降率")
    private Long decreaseRate;


}
